@import '../variables/default.scss';
@import '../mixins/index.scss';

.at-divider {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: $at-divider-height;

  /* elements */
  &__content {
    //display: inline-block;
    //position: relative;
    padding-right: $spacing-h-lg;
    padding-left: $spacing-h-lg;
    background: $color-bg;
    height: $at-divider-height;
    z-index: $zindex-divider + 1;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    &__text {
      background-color: #fff;
      color: $at-divider-content-color;
      font-size: $at-divider-font-size;
      //line-height: $at-divider-font-size;
    }
  }

  &__line {
    width: 100%;
    height: 2px;
    background-color: $at-divider-line-color;
    z-index: $zindex-divider;
    flex: 1;
  }
}
